package job

type CronJobAdapter struct {
	job Job
}

func NewCronJobAdapter(job Job) *CronJobAdapter {
	return &CronJobAdapter{
		job: job,
	}
}

func (adapter *CronJobAdapter) Run() {
	_ = adapter.job.Run()
}
